package lt.ntec.sudokusolver.engine;

public class State {
	int [][] nums = new int[9][9];
	int chosen;
	private Cell cell;
	private State previous;
	private boolean solvable = true;
	
	public State(int[][] nums, int chosen, Cell cell, State previous) {
		super();
		this.nums = nums;
		this.chosen = chosen;
		this.cell = cell;
		this.previous = previous;
	}

	public void setChosen(int chosen) {
		this.chosen = chosen;
	}

	public boolean isSolvable() {
		return solvable;
	}

	public void setSolvable(boolean solvable) {
		this.solvable = solvable;
	}

	public State getPrevious() {
		return previous;
	}

	public int[][] getNums() {
		return nums;
	}

	public int getChosen() {
		return chosen;
	}

	public Cell getCell() {
		return cell;
	}
	
	
}
